<div class="add-manual-bill-dialog">
    <form class="form-horizontal" role="form" name="formData">
        <div class="modal-header">
            <span style="float: right;cursor: pointer" ng-click="$$dealMismatch.cancel()">x</span>
            <h5>差错处理单</h5>
        </div>
        <div class="modal-body">
            <div class="form-group">
                <label  class="col-sm-3 control-label">操作类型：</label>
                <div class="col-sm-8">
                    <label class="radio-inline">
                        <input type="radio" name="optType" id="optTypeAdd" value="ADD"  ng-model="$$dealMismatch.changeType" required> 增加
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="optType" id="optTypeReduce" value="REDUCE" ng-model="$$dealMismatch.changeType" required> 减少
                    </label>
                </div>
            </div>

           <!-- <div class="form-group">
                <label for="assetType" class="col-sm-3 control-label">资产类型：</label>
                <div class="col-sm-8">
                    <select class="form-control" ng-model="$$dealMismatch.assetType" id="assetType" required>
                        <option value="CNY">人民币</option>
                        <option value="GOP">果仁</option>
                    </select>
                </div>
            </div>-->

            <div class="form-group">
                <label for="amount" class="col-sm-3 control-label">金额：</label>
                <div class="col-sm-8">
                    <input class="form-control"
                           ng-model="$$dealMismatch.amount"
                           id="amount"
                           ng-keyup="clearNoNum($$dealMismatch,'amount')"
                           required
                           name="amount"
                           placeholder="">
                    <!--ng-pattern="/^[1-9]+[0-9]*(\.\d{0,4})?$/"-->
                    <!--<div style="height: 20px"> <div ng-show="formData.amount.$invalid" style="color:red">金额格式错误</div></div>-->
                </div>
            </div>
            <div class="form-group">
                <label for="remark" class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <textarea class="form-control" rows="3" ng-model="$$dealMismatch.remark" id="remark" required></textarea>
                </div>
            </div>
            <hr>
            <div class="form-group">
                <label for="password" class="col-sm-3 control-label">密码：</label>
                <div class="col-sm-8">
                    <input type="password"
                           class="form-control"
                           required
                           ng-model="$$dealMismatch.password"
                           id="password"
                           placeholder="请输入当前账号密码">
                </div>
            </div>
        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-default" ng-click="$$dealMismatch.cancel()">取消</button>
            <button type="submit" class="btn btn-primary" ng-click="$$dealMismatch.ok($$dealMismatch)" ng-disabled="formData.$invalid">确定</button>
        </div>
    </form>
</div>
